﻿<%@ Page Title="" Language="C#" MasterPageFile="~/members/membersMasterPage.master" AutoEventWireup="true" CodeFile="members.aspx.cs" Inherits="members_members" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 146px;
        }
        .style6
        {
            width: 130px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:Label ID="lblMemberName" runat="server" Text="Label"></asp:Label>

    <br />
    <asp:Label ID="lbUpdateInformation" runat="server"></asp:Label>

    <asp:Panel ID="pnlOptions" runat="server">
        <asp:Button ID="Remove" runat="server" Text="Remove a Destination" 
            onclick="Remove_Click" /> 
        <asp:Button ID="btnAdd" runat="server" Text="Add a Destination" 
            onclick="btnAdd_Click" Width="190px" /> 
        <asp:Button ID="btnView" runat="server" Text="View Messages(0)" Width="190px" 
            onclick="btnView_Click" />
        <asp:Button ID="btnAddCountry" runat="server" Text="Add Country" 
            onclick="btnAddCountry_Click" />
        <asp:Button ID="btnLogOut" runat="server" Text="Log Out" 
            onclick="btnLogOut_Click1" />
    </asp:Panel>

    <asp:Panel ID="pnlRemove" runat="server" Enabled="False" Visible="False">
        <asp:DropDownList ID="ddlLocations" runat="server">
        </asp:DropDownList>
        <asp:Button ID="btnDeleteLocation" runat="server" Text="Delete" 
            onclick="btnDeleteLocation_Click" />
    </asp:Panel>
    <asp:Panel ID="pnlAdd" runat="server" Enabled="False" Visible="False">
        <br />
        <table style="width:100%;">
            <tr>
                <td class="style1">
                    Name:</td>
                <td>
                    <asp:TextBox ID="txtName" runat="server" Width="484px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Country:</td>
                <td>
                    <asp:DropDownList ID="ddlCountries" runat="server" Height="16px" Width="495px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Description:</td>
                <td>
                    <asp:TextBox ID="txtDescription" runat="server" Height="121px" 
                        TextMode="MultiLine" Width="491px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Image</td>
                <td>
                    <asp:FileUpload ID="fuImage" runat="server" Width="491px" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    Price</td>
                <td>
                    <asp:TextBox ID="txtPrice" runat="server" Width="487px"></asp:TextBox>
                </td>
            </tr>
        </table>
        <br />
        <asp:Button ID="btnAddDestination" runat="server" 
            onclick="btnAddDestination_Click" Text="Add Destination" />
    </asp:Panel>
    <asp:Panel ID="pnlViewFeedback" runat="server" Enabled="False" Visible="False">
        <asp:DropDownList ID="ddlFeedback" runat="server" 
            onselectedindexchanged="ddlFeedback_SelectedIndexChanged" 
            AutoPostBack="True">
        </asp:DropDownList>
        <br />
        <table style="width:100%;">
            <tr>
                <td class="style6">
                    Message Recieved:
                </td>
                <td>
                    <asp:Label ID="lblRecievedTime" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Message is read:</td>
                <td>
                    <asp:Label ID="lblIsRead" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Destination:
                </td>
                <td>
                    <asp:Label ID="lblDestinationName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    From:
                </td>
                <td>
                    <asp:Label ID="lblUsersName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Email:
                </td>
                <td>
                    <asp:Label ID="lblUsersEmail" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Message:
                </td>
                <td>
                    <asp:Label ID="lblComments" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
        <br />
        <asp:Button ID="btnMarkRead" runat="server" onclick="btnMarkRead_Click" 
            Text="Mark As Read" />
    </asp:Panel>

    <asp:Panel ID="pnlAddCountry" runat="server" Enabled="False" Visible="False">
        <table style="width:100%;">
            <tr>
                <td class="style6">
                    Country Name:</td>
                <td>
                    <asp:TextBox ID="txtCountry" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style6">
                    Country Picture:
                </td>
                <td>
                    <asp:FileUpload ID="fuCountryPic" runat="server" />
                </td>
            </tr>
        </table>
        <asp:Button ID="btnAddACountry0" runat="server" onclick="btnAddACountry_Click" 
            Text="Add Country" />
        <br />
    </asp:Panel>

</asp:Content>

